<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>IronLogisitc-LoginPage</title>

<link rel="stylesheet" type="text/css" href="css/style.css" />

<s:head />
</head>

<body>
<div id="barraSuperior" class="barraSuperior">

<h3 style="margin-left: 30px">BIENVENIDO A  IRON LOGISTIC</h3>
<h4 style="margin-left: 30px">- KEYLAB SOLUTIONS -</h4>
</div>


<div class="principal">

<s:form theme="simple" cssClass="semantic" action="loginAuth" >

		<fieldset style="text-align: center">
			<legend class="legend">Login</legend>
		
		<div><s:hidden theme="simple" name="loginAttempt" value="%{'1'}" /> </div>
		
		<div>
			<label for="usuario" >Usuario</label>
			<s:textfield theme="simple" name="userName"/>
			<s:fielderror fieldName="userName"></s:fielderror>
		</div>
		<div>
			<label for="password">Clave</label>
			<s:password theme="simple" name="password"/>
			<s:fielderror fieldName="password"></s:fielderror> 
		</div>
		<div>
			<s:if test="hasActionErrors()"> <s:actionerror/> </s:if>
		</div>		
		
		<div style="text-align: center">	
			<s:submit theme="simple" name="Login" value="Login" cssClass="button"/>
		</div>			
			
		</fieldset>
<!-- 
	<div>
	<s:if test="hasActionMessages()">
		<s:actionmessage cssClass="welcome"/>
	</s:if>
	</div>	 
-->
		
	</s:form>
</div>

</body>
</html>
